SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vweEstudiosParciales
AS
SELECT idEstudioParcial AS ID, Agente, Titulo, Entidad, MateriasPlan, CantidadMateriasAprobadas, TotalMatPedagogicasPlan, 
               CantidadMatPedagogicasAprobadas, GrupoIncumbencias, FechaPresentacion
FROM  dbo.tb_EstudiosParciales
GO
GRANT SELECT ON  [dbo].[vweEstudiosParciales] TO [Juntas]
GRANT INSERT ON  [dbo].[vweEstudiosParciales] TO [Juntas]
GRANT DELETE ON  [dbo].[vweEstudiosParciales] TO [Juntas]
GRANT UPDATE ON  [dbo].[vweEstudiosParciales] TO [Juntas]
GRANT SELECT ON  [dbo].[vweEstudiosParciales] TO [MCEEjecutivo]
GRANT SELECT ON  [dbo].[vweEstudiosParciales] TO [PersonalDocenteDireccion]
GRANT SELECT ON  [dbo].[vweEstudiosParciales] TO [SoloVer]
GO
